package com.cgbl.cg.vm.main

import android.app.Application
import com.robot.base.base.vm.GLBaseViewModel
import com.robot.base.configs.AppConstants
import com.robot.base.util.arouter.ARouterUtil
import me.goldze.mvvmhabit.binding.command.BindingAction
import me.goldze.mvvmhabit.binding.command.BindingCommand

class MessageFragmentViewModel(application: Application) : GLBaseViewModel(application) {

    val clickSystemMessageCommand = BindingCommand<Any>(BindingAction {
        ARouterUtil.goToActivity(AppConstants.Router.Mine.A_MINE_SYSTEM_NOTIFICATION)
    })

    val clickFansCommand = BindingCommand<Any>(BindingAction {
        ARouterUtil.goToActivity(AppConstants.Router.Mine.A_MINE_FOLLOW_FANS)
    })
}